# Uncomment the next line to define a global platform for your project
platform :ios, '9.0'
 
# The target name is most likely the name of your project. 
target 'FenShenGou' do
  # Your 'node_modules' directory is probably in the root of your project, 
  # but if not, adjust the `:path` accordingly 
  pod 'React', :path => '../node_modules/react-native', :subspecs => [
    'Core',
    'RCTText',
    'RCTImage',
    'RCTLinkingIOS',
    'RCTSettings',
    'RCTVibration',
    'RCTGeolocation',
    'RCTActionSheet',
    'RCTNetwork',
    'CxxBridge',
    'RCTWebSocket',
    'DevSupport',
  ]
  # Explicitly include Yoga if you are using RN >= 0.42.0 
  pod 'yoga', :path => '../node_modules/react-native/ReactCommon/yoga'
 
  # Third party deps podspec link 
  pod 'DoubleConversion', :podspec => '../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec'
  pod 'glog', :podspec => '../node_modules/react-native/third-party-podspecs/glog.podspec'
  pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'
 
  pod 'RNFS', :path => '../node_modules/react-native-fs'

  # pod 'react-native-amap3d', path: '../node_modules/react-native-amap3d/lib/ios'
  # pod 'BVLinearGradient', :path => '../node_modules/react-native-linear-gradient'

  pod 'react-native-ble-manager', :path => '../node_modules/react-native-ble-manager'

  pod 'react-native-fetch-blob', :path => '../node_modules/react-native-fetch-blob'

  pod 'react-native-splash-screen', :path => '../node_modules/react-native-splash-screen'

  pod 'RNSVG', :path => '../node_modules/react-native-svg'

  pod 'RNVectorIcons', :path => '../node_modules/react-native-vector-icons'


  pod 'RCTWeChat', :path => '../node_modules/react-native-wechat'


  
react_project = Xcodeproj::Project.open("../node_modules/react-native/React/React.xcodeproj")
react_project.main_group["React/Views"].files.each do |file|   
  if file.path.match(/^RCTWebView/) 
    file.remove_from_project
  end   
end   
react_project.save

end
 